<div class="depot-form">
  <%= error_messages_for :link %>
  <fieldset>
    <legend>Enter Link Details</legend>
    <% form_for :link do |form| %>
      <p>
        <label for="link_name">Name:</label>
        <%= form.text_field :name, :size => 100 %>
      </p>
      <p>
        <label for="link_url">Url:</label>
        <%= form.text_field :url, :size => 100 %>
      </p>
      <%= submit_tag "Submit", :class => "submit" %>
    <% end %>
  </fieldset>
</div>